﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Solution.Entity.Entitys
{
    public partial class Permission
    {
        public Permission()
        {
            this.RolePerRelationship = new HashSet<RolePerRelationship>();
            this.VipPermssion = new HashSet<VipPermssion>();
        }
        [Key]
        public int perId { get; set; }
        public int perParent { get; set; }
        public string perName { get; set; }
        public string perRemark { get; set; }
        public string perAreaName { get; set; }
        public string perControllerName { get; set; }
        public string perActionName { get; set; }
        public short perFormMethod { get; set; }
        public short perOperationType { get; set; }
        public string perJsMethodName { get; set; }
        public string perIco { get; set; }
        public bool perIsLink { get; set; }
        public int perOrder { get; set; }
        public bool perIsShow { get; set; }
        public bool perIsDel { get; set; }
        public System.DateTime perAddTime { get; set; }

        public virtual ICollection<RolePerRelationship> RolePerRelationship { get; set; }
        public virtual ICollection<VipPermssion> VipPermssion { get; set; }
    }
}
